package com.jsmile.cloud.msgcenter.msg.controller;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.web.bind.annotation.RestController;

import com.jsmile.cloud.msgcenter.web.config.MsgConfig;
import com.jsmile.mail.security.controller.AuthcController;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
@AllArgsConstructor
public class NotifyServiceApiImpl extends AuthcController {

    private final MsgConfig bizConfig;
    private final AmqpTemplate amqpTemplate;

    /*    @PostMapping("/feign/notify/sendNotify")
    @JsmileLog(title = "消息中心->统一通知发送", type = LogTypeEnum.INSERT,systemId= JSmileConstant.SystemId.MSG_CENTER)
    public JSmileResult sendNotify(@RequestBody @Valid ReqNotifyCreate reqNotifyCreate ) {
        if(msNotifyService.sendNotify(reqNotifyCreate)){
            return JSmileResult.success();
        }
        return JSmileResult.error("通知发送失败");
    }*/
}
